package com.ruoyi.classai.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 教师信息对象 ewc_teacher
 *
 * @author lcj
 * @date 2025-02-27
 */
@Data
@TableName("ewc_teacher")
@Schema(description="教师信息对象ewc_teacher")
public class EwcTeacher implements Serializable{

    private static final long serialVersionUID = 1L;

    /** 教师唯一标识 */
    @Schema(description  = "教师唯一标识")
    private String id;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    @Schema(description  = "教师姓名")
    private String teacherName;

    /** 性别(0女1男2其它) */
    @Excel(name = "性别(0女1男2其它)")
    @Schema(description  = "性别(0女1男2其它)")
    private Integer gender;

    /** 职称 */
    @Excel(name = "职称")
    @Schema(description  = "职称")
    private String title;

    /** 教师照片路径 */
    @Excel(name = "教师照片路径")
    @Schema(description  = "教师照片路径")
    private String photoPath;

    /** 老师简介 */
    @Excel(name = "老师简介")
    @Schema(description  = "老师简介")
    private String description;

    /** 联系方式 */
    @Excel(name = "联系方式")
    @Schema(description  = "联系方式")
    private String teacherPhone;

    /** 教师邮箱 */
    @Excel(name = "教师邮箱")
    @Schema(description  = "教师邮箱")
    private String teacherEmail;

    /** 创建时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新时间")
    private Date updateTime;


    /** 状态0删除1正常 */
    @Excel(name = "状态0删除1正常")
    @Schema(description  = "状态0删除1正常")
    private Integer status;

    /** 教师工号 */
    @Excel(name = "教师工号")
    @Schema(description  = "教师工号")
    private String teacherNo;

    /** 登录密码 */
    @Excel(name = "登录密码")
    @Schema(description  = "登录密码")
    private String password;

    /** 当前登录时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "当前登录时间", width = 30, dateFormat = "yyyy-MM-dd")
    @Schema(description  = "当前登录时间")
    private Date loginDate;

    /** 当前登录ip */
    @Excel(name = "当前登录ip")
    @Schema(description  = "当前登录ip")
    private String loginIp;

    /** 上次登录时间 */
    @Excel(name = "上次登录时间")
    @Schema(description  = "上次登录时间")
    private String lastLoginDate;

    /** 上次登录ip */
    @Excel(name = "上次登录ip")
    @Schema(description  = "上次登录ip")
    private String lastLoginIp;

    /** 学校id */
    @Excel(name = "学校id")
    @Schema(description  = "学校id")
    private String schoolId;


}
